package com.zhaoc.service;

import com.zhaoc.domain.system.Role;
import com.zhaoc.domain.system.User;

import java.util.List;

/**
 * <p>title:com.zhaoc.service</p>
 * date:2018/8/21 0021
 * time:11:02
 * author:赵成
 * user:13566
 */
public interface IUserService {
    User findByUsername(String username);

    List<Role> findByUser(User user);

    List<User> findAll();

    void save(User model, String[] roleTd);
}
